
package com.lottery.service.impl;

import java.util.List;

import com.lottery.service.impl.BaseManager;
import com.lottery.model.Lottery539;
import com.lottery.dao.Lottery539Dao;
import com.lottery.service.Lottery539Manager;
/*
* @aegis.mapping
*/
public class Lottery539ManagerImpl extends BaseManager implements Lottery539Manager {
    private Lottery539Dao dao;

    /**
     * Set the Dao for communication with the data layer.
     * @param dao
     */
    public void setLottery539Dao(Lottery539Dao dao) {
        this.dao = dao;
    }

    /**
     * @see com.lottery.service.Lottery539Manager#getLottery539s(com.lottery.model.Lottery539)
     */
    public List getLottery539s(final Lottery539 lottery539) {
        return dao.getLottery539s(lottery539);
    }

    /**
     * @see com.lottery.service.Lottery539Manager#getLottery539(String id)
     */
    public Lottery539 getLottery539(final String id) {
        return dao.getLottery539(new Long(id));
    }

    /**
     * @see com.lottery.service.Lottery539Manager#saveLottery539(Lottery539 lottery539)
     */
    public void saveLottery539(Lottery539 lottery539) {
        dao.saveLottery539(lottery539);
    }

    /**
     * @see com.lottery.service.Lottery539Manager#removeLottery539(String id)
     */
    public void removeLottery539(final String id) {
        dao.removeLottery539(new Long(id));
    }
}
